package com.rui.common.vo;

import com.rui.common.pojo.Good;
import lombok.Data;

import java.util.List;

@Data
public class GoodVO {
    private String categoryName;
    private List<Good> goods;

    public GoodVO(String categoryName, List<Good> goods) {
        this.categoryName = categoryName;
        this.goods = goods;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public List<Good> getGoods() {
        return goods;
    }

    public void setGoods(List<Good> goods) {
        this.goods = goods;
    }
}
